package com.example.demo.mapper;

import com.example.demo.entity.Card;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface CardMapper {
	// 通过学号查询余额
	@Select("select * from card where cardNo =#{cardNo}")
	public Card getCardByCardNo(String cardNo);
}
